#include <QtGui>
#include "gui/basedialog.h"

#ifndef LOGINVIEWDIALOG_H
#define LOGINVIEWDIALOG_H

class LoginViewDialog : public BaseDialog
{
    Q_OBJECT
public:
    explicit LoginViewDialog(QWidget *parent = 0);

signals:

public slots:
    void onOkButtonClicked();

protected:
    void initDialogComponents();

    QGridLayout *gridLayout;

    QLabel *nameLabel;
    QLineEdit *nameEdit;

    QLabel *passLabel;
    QLineEdit *passEdit;

    QLabel *errorLabel;

    QPushButton *loginButton;
    QDialogButtonBox *buttonBox;
};

#endif // LOGINVIEWDIALOG_H
